package com.godfrey.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

/**
 * @author godfrey
 * @since 2020-12-07
 */
@Service
public class ProviderService {

    @SentinelResource("test")  //test 保护资源名
    public void test() {
        System.out.println("test");
    }
}
